package com.angel.service;

import java.util.List;
import java.util.Map;

import com.angel.bean.PurchaseApplication;
import com.angel.bean.dto.GoodListDto;
import com.angel.bean.dto.PurchaseApplicationDetils;

public interface PurchaseApplicationService {

    int insert(PurchaseApplication purchaseApplication);

    int insertSelective(PurchaseApplication purchaseApplication);

    int insertList(List<PurchaseApplication> purchaseApplications);

    int update(PurchaseApplication purchaseApplication);

    int delete(PurchaseApplication purchaseApplication);

    PurchaseApplication findOne(PurchaseApplication purchaseApplication);

    List<PurchaseApplication> findPurchaseApplication(PurchaseApplication purchaseApplication);


    List<PurchaseApplicationDetils> finddetilPurchaseApplication(PurchaseApplication purchaseApplication);

    List<PurchaseApplication> searchPurchaseApplication(PurchaseApplication purchaseApplication);

    Map detilGoods(List<GoodListDto> goodListDtos, PurchaseApplication purchaseApplication) throws Exception;
}
